package com.cssw.fyzb.core.model.dodb.base;

import com.ydn.dbframe.plugin.activerecord.Model;
import com.ydn.dbframe.plugin.activerecord.IBean;

/**
 *  do not modify this file.
 */
@SuppressWarnings("serial")
public abstract class BaseXxlJobLog<M extends BaseXxlJobLog<M>> extends Model<M> implements IBean {

	public void setId(java.lang.Long id) {
		set("id", id);
	}
	
	public java.lang.Long getId() {
		return getLong("id");
	}

	/**
	 * 执行器主键ID
	 */
	public void setJobGroup(java.lang.Integer jobGroup) {
		set("job_group", jobGroup);
	}
	
	/**
	 * 执行器主键ID
	 */
	public java.lang.Integer getJobGroup() {
		return getInt("job_group");
	}

	/**
	 * 任务，主键ID
	 */
	public void setJobId(java.lang.Integer jobId) {
		set("job_id", jobId);
	}
	
	/**
	 * 任务，主键ID
	 */
	public java.lang.Integer getJobId() {
		return getInt("job_id");
	}

	/**
	 * 执行器地址，本次执行的地址
	 */
	public void setExecutorAddress(java.lang.String executorAddress) {
		set("executor_address", executorAddress);
	}
	
	/**
	 * 执行器地址，本次执行的地址
	 */
	public java.lang.String getExecutorAddress() {
		return getStr("executor_address");
	}

	/**
	 * 执行器任务handler
	 */
	public void setExecutorHandler(java.lang.String executorHandler) {
		set("executor_handler", executorHandler);
	}
	
	/**
	 * 执行器任务handler
	 */
	public java.lang.String getExecutorHandler() {
		return getStr("executor_handler");
	}

	/**
	 * 执行器任务参数
	 */
	public void setExecutorParam(java.lang.String executorParam) {
		set("executor_param", executorParam);
	}
	
	/**
	 * 执行器任务参数
	 */
	public java.lang.String getExecutorParam() {
		return getStr("executor_param");
	}

	/**
	 * 执行器任务分片参数，格式如 1/2
	 */
	public void setExecutorShardingParam(java.lang.String executorShardingParam) {
		set("executor_sharding_param", executorShardingParam);
	}
	
	/**
	 * 执行器任务分片参数，格式如 1/2
	 */
	public java.lang.String getExecutorShardingParam() {
		return getStr("executor_sharding_param");
	}

	/**
	 * 失败重试次数
	 */
	public void setExecutorFailRetryCount(java.lang.Integer executorFailRetryCount) {
		set("executor_fail_retry_count", executorFailRetryCount);
	}
	
	/**
	 * 失败重试次数
	 */
	public java.lang.Integer getExecutorFailRetryCount() {
		return getInt("executor_fail_retry_count");
	}

	/**
	 * 调度-时间
	 */
	public void setTriggerTime(java.util.Date triggerTime) {
		set("trigger_time", triggerTime);
	}
	
	/**
	 * 调度-时间
	 */
	public java.util.Date getTriggerTime() {
		return get("trigger_time");
	}

	/**
	 * 调度-结果
	 */
	public void setTriggerCode(java.lang.Integer triggerCode) {
		set("trigger_code", triggerCode);
	}
	
	/**
	 * 调度-结果
	 */
	public java.lang.Integer getTriggerCode() {
		return getInt("trigger_code");
	}

	/**
	 * 调度-日志
	 */
	public void setTriggerMsg(java.lang.String triggerMsg) {
		set("trigger_msg", triggerMsg);
	}
	
	/**
	 * 调度-日志
	 */
	public java.lang.String getTriggerMsg() {
		return getStr("trigger_msg");
	}

	/**
	 * 执行-时间
	 */
	public void setHandleTime(java.util.Date handleTime) {
		set("handle_time", handleTime);
	}
	
	/**
	 * 执行-时间
	 */
	public java.util.Date getHandleTime() {
		return get("handle_time");
	}

	/**
	 * 执行-状态
	 */
	public void setHandleCode(java.lang.Integer handleCode) {
		set("handle_code", handleCode);
	}
	
	/**
	 * 执行-状态
	 */
	public java.lang.Integer getHandleCode() {
		return getInt("handle_code");
	}

	/**
	 * 执行-日志
	 */
	public void setHandleMsg(java.lang.String handleMsg) {
		set("handle_msg", handleMsg);
	}
	
	/**
	 * 执行-日志
	 */
	public java.lang.String getHandleMsg() {
		return getStr("handle_msg");
	}

	/**
	 * 告警状态：0-默认、1-无需告警、2-告警成功、3-告警失败
	 */
	public void setAlarmStatus(java.lang.Integer alarmStatus) {
		set("alarm_status", alarmStatus);
	}
	
	/**
	 * 告警状态：0-默认、1-无需告警、2-告警成功、3-告警失败
	 */
	public java.lang.Integer getAlarmStatus() {
		return getInt("alarm_status");
	}

}
